// ignore_for_file: unused_local_variable

import 'dart:async';
import 'dart:math';

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter_app/main02.dart';
import 'package:flutter_app/main26.dart';
import 'package:flutter_app/pages/Form1.dart';
import 'package:flutter_app/pages/search.dart';
import 'res/listData.dart';
import 'pages/Tabs.dart';
import 'routes/routes.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // final routes = {
  //   '/form': (context) => FormPage(),
  //   '/search': (context, {arguments}) => Search(
  //         arguments: arguments,
  //       )
  // };

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      // home: Tabs(),
      initialRoute: '/', //初始化的时候加载哪个路由
      onGenerateRoute: onGenerateRoute,
    );
  }
}
